package com.woniu.sharepark.common.dao;

import com.woniu.sharepark.platformsystem.pojo.Role;
import org.apache.ibatis.annotations.Param;

/**
 * @author SeaMonster
 * @date 2019/6/12 17:56
 * version v1.0
 */
public interface RoleDAO {

    /**
    * 通过用户角色ID查找角色
    * @title selectByUserRid
    * @param rid
    * @return: com.woniu.sharepark.platformsystem.pojo.Role
    * @author SeaMonster
    * @date 2019/6/12 17:57
    */
    Role selectByUserRid(@Param("rid") Integer rid);
}
